package cn.regexp.product;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author Regexpei
 * @date 2024/7/1 20:50
 * @description 商品服务启动类
 */
@Slf4j
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("cn.regexp.product.mapper")
public class ProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductApplication.class, args);
        log.info("lego-shop-service-product 服务启动成功");
    }
}
